#ifndef __FILECHECK_H
#define __FILECHECK_H

#define FILECHECK_OK 1
#define FILECHECK_FAIL 0

// Do a batch check; prints out a warning message for every file that fails the check
extern int filecheck_batch(const char* listfile);

// Check if file exists
extern int filecheck_exists(const char* filename);
// Check if file matches given crc32
extern int filecheck_crc32(const char* filename, unsigned long crc32);

#endif
